Transaction tx = persistence.createTransaction(new TransactionParams().setTimeout(2));